package com.qding.park.manager.pojo.payment;

public abstract class AbstractResult {

	/**
	  * @Fields code : TODO（响应码）
	  */
	private int code;
	
	/**
	  * @Fields message : TODO（消息说明）
	  */
	private String message;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	
	public static enum ResultCodeEnum {
		
		SUCESS(200,"成功");
		
		private int code;
		
		private String desc;
		
		private ResultCodeEnum(int code,String desc){
			this.code=code;
			this.desc=desc;
		}

		public int getCode() {
			return code;
		}

		public void setCode(int code) {
			this.code = code;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}

		
		
	}
}
